<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>商家入驻</title>  <link rel="icon" href="/template/pc1/images/wmh_favicon.ico" type="image/x-icon" />
    <meta name="Author" content="Meida Team"/>
    <meta name="Copyright" content="Meida"/>
    <link rel="icon" href="/template/pc1/images/wmh_favicon.ico" type="image/x-icon"/>
    <link href="/template/pc1/css/login.css" rel="stylesheet" type="text/css"/>
    <link href="/template/pc1/css/register.css" rel="stylesheet" type="text/css"/>
    <link href="/template/pc1/css/member_center.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="/template/pc1/js/login.js"></script>
    <script type="text/javascript" src="/template/pc1/js/register.js"></script>
    <link rel="stylesheet" href="http://nsr.9hive.cn/mmenu/assets/css/site.min.css?v2.2.0">
    <link rel="stylesheet" href="http://nsr.9hive.cn/global/vendor/layer/laydate/skins/default/laydate.css">
    <link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
    <link rel="stylesheet" href="http://nsr.9hive.cn/global/vendor/inside/sz-validate.css">
    <!--Just Use To This page-->
    <link rel="stylesheet" href="http://nsr.9hive.cn/global/vendor/common/common_20170925.css">
    <link href="/template/pc1/css/header.css" rel="stylesheet" type="text/css"/>
    <!--[if lt IE 9]>
    <script src="http://nsr.9hive.cn/global/vendor/html5shiv/html5shiv.min.js"></script>
    <![endif]-->
    <script type="text/javascript" src="/template/pc1/js/header.js"></script>

    <!--[if lt IE 10]>
    <script src="http://nsr.9hive.cn/global/vendor/media-match/media.match.min.js"></script>
    <script src="http://nsr.9hive.cn/global/vendor/respond/respond.min.js?v=1.2.2"></script>
    <![endif]-->
    <style type="text/css">
        .form-group {
            margin-top: 20px;
        }

        .ibox-content, .ibox {
            padding: 0;
        }
    </style>
</head>

<body>
<div class="ibox">
    <div class="header png">
        <div class="headerTop png">
            <div class="headerTopContent">
                <div class="headerLoginInfo">
                    <!--您好<span id="headerLoginMemberUsername"></span>，欢迎来到${siteConfig.shopName!}-->
                    您好<span id="headerLoginMemberUsername"></span>，欢迎来到微米荟官方商城
                    <a href="#" id="headerShowLoginWindow" class="showLoginWindow a_login white">登录</a>
                    <a href="/b/pc/customerCenter?shopId=${shopId!}" id="headerMemberCenter">[会员中心]</a>丨
                    <a href="#" id="headerShowRegisterWindow" class="showRegisterWindow">注册</a>
                    <a href="/b/pc/customerCenter/logout" id="headerLogout">[退 出]</a>
                </div>
                <div class="headerTopNav">
                    <%for(list in businessTopNavigationList!){%>
                    <a href="${list.url}" <%if (list.isBlankTarget == true){%> target="_blank"<%}%>>${list.name!}</a>
                    <%if (!listLP.last){%>|<%}%>
                    <%}%>
                    <div class="tel">
                        <span class="textel">售后热线:</span>
                        <span class="tel_num"><strong>${plateformConfig.salesHotline!}</strong></span>
                        <!--<span class="textel" id="recruitment" style="margin-left: 20px;cursor: pointer"><a-->
                                <!--href="/b/pc/recruitment">商家入驻</a></span>-->
                    </div>
                </div>
            </div>
        </div>
        <div class="headerMiddle">
            <div class="headerLogo">
                <a href="/index.html" style="display: flex;align-items: center">
                    <img class="png" src="http://p09cnrci6.bkt.clouddn.com/plateform/201712/e298eea37e064c56b0bb460c79e915c4.jpg" title="微米荟商城">
                    <span style="font-size: 20px;margin-left: 8px">官方线上商城</span>
                </a>
            </div>
            <div class="headerSearch png">
                <!--<div class="gray6">
                    <span class="qg f12">集成灶行业A股上市公司</span>
                    <span class="day15 f12">股票代码：002677</span>
                </div>-->
                <form id="productSearchForm" action="/b/pc/product/search" method="post">
                    <div class="headerSearchText">
                        <input type="text" id="productSearchKeyword" name="keyword"
                               value="<%if (keyword! != null && rootProductCategoryList != null){%>${keyword!}<%}else{%>请输入关键词...<%}%>"
                               }" />
                        <input type="hidden" id="shopId" name="shopId" value="${shopId!}"/>
                    </div>
                    <input type="submit" class="headerSearchButton" value="搜索"/>
                </form>
            </div>
        </div>
        <div class="nav_chang">
            <div class="headerBottom">
                <input type="button" class="cartItemListButton showCartItemList" value="购物车"
                       onclick="window.open('/b/pc/cartItem/list?shopId=${shopId!}')"/>
                <ul id="cartItemListDetail"></ul>
                <div class="headerMiddleNav">
                    <ul class="headerMiddleNavContent png">
                        <li>
                            <a href="/index.html">首页</a>
                        </li>
                        <li>
                            <a
                                    href="/b/pc/recruitment">商家入驻</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div class="ibox-content">
        <div class="wrapper wrapper-content">
            <div class="row">
                <div class="col-xlg-12 col-md-12 col-lg-12">
                    <form class=" form-horizontal"
                          style="display: flex;flex-direction: column">
                        <div class="form-group">
                            <label class="width-160 col-md-2 col-lg-2 col-xlg-1 control-label">姓名</label>
                            <div class="col-md-4 col-lg-3 col-xlg-3">
                                <input class=" form-control light-input" id="name" placeholder="请输入姓名"
                                />
                            </div>
                            <span class="color_hint"></span>
                        </div>
                        <div class="form-group">
                            <label class="width-160 col-md-2 col-lg-2 col-xlg-1 control-label">手机号</label>
                            <div class="col-md-4 col-lg-3 col-xlg-3">
                                <input disabled class="form-control light-input " value="${loginMember.phone!}" id="phone" placeholder="请输入手机号"/>
                            </div>
                            <span class="color_hint"></span>
                        </div>
                        <div class="form-group">
                            <label class="width-160 col-md-2 col-lg-2 col-xlg-1 control-label ">微信号</label>
                            <div class="col-md-4 col-lg-3 col-xlg-3">
                                <input class="form-control light-input" id="weChat" placeholder="请输入微信号"
                                />
                            </div>
                            <span class="color_hint"></span>
                        </div>
                        <div class="form-group">
                            <label class="width-160 col-md-2 col-lg-2 col-xlg-1 control-label">QQ</label>
                            <div class="col-md-4 col-lg-3 col-xlg-3">
                                <input class="form-control light-input" placeholder="请输入QQ"
                                       id="qq"/>
                            </div>
                            <span class="color_hint"></span>
                        </div>
                        <div class="form-group">
                            <label class="width-160 col-md-2 col-lg-2 col-xlg-1 control-label">产品</label>
                            <div class="col-md-4 col-lg-3 col-xlg-3">
                                <input class="form-control light-input" placeholder="请输入产品"
                                       id="product"/>
                            </div>
                            <span class="color_hint"></span>
                        </div>


                        <div class="form-group margin-top-24">
                            <div class="col-md-offset-2 col-lg-offset-1 col-xlg-offset-1 padding-left-50">
                                <button class="hive-btn hive-btn-primary margin-left-8" type="button" id="_form" onclick="recruitMent()">提交</button>
                            </div>
                        </div>

                    </form>
                </div>
            </div>
        </div>
    </div>
</div>


<script src="http://nsr.9hive.cn/global/vendor/jquery/jquery-3.2.1.min.js"></script>
<script src="http://nsr.9hive.cn/global/vendor/layer/layer.js"></script>

<script>
    function recruitMent() {
        var name = $('#name').val();
        var phone = $('#phone').val();
        var weChat = $('#weChat').val();
        var qq = $('#qq').val();
        var product = $('#product').val();
        if (!name) {
            layer.msg("请输入姓名");
            return;
        } else if (!phone) {
            layer.msg("请输入手机号");
            return;

        } else if (!weChat) {
            layer.msg("请输入微信号");
            return;
        }else if(!product){
            layer.msg("请输入产品");
            return;
        }

        $.ajax({
            url:"/b/pc/recruitment/save",
            type: 'GET',
            data:{
                "name":name,
                "phone":phone,
                "weChat":weChat,
                "qq":qq,
                "product":product
            },
            success: function(data){
                if(data.state=='ok'){
                    layer.msg("提交成功!");
                    setTimeout(function () {
                        window.location.href="/index.html";
                        //window.location.reload();
                    },1500)
                }else{
                    layer.msg(data.info);
                }
            }});
    }
</script>

</body>
</html>